package day4;

/**
 * @author oldliu
 * @since 1.0
 */
public class StrTest6 {
    public static void main(String[] args) {
        StringBuilder sb=new StringBuilder();
        sb.append("大家好");
        sb.append("我是渣渣灰");
        sb.append(3.544444);
        sb.append(2>1);
        sb.append(34);
        sb.append('m');
        System.out.println(sb);
        sb.reverse();
        System.out.println(sb);
        sb.delete(2,5);
        System.out.println(sb);
        sb.insert(5,"我喜欢java");
        System.out.println(sb.length());
        System.out.println(sb);
    }
}
